package com.example.sample.domain.Entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import javax.jws.soap.SOAPBinding;

@Data
public class User {

    public User(){}

    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private Integer age;
    private String email;
    private String deptId;

    @TableLogic
    private Integer deleted;

    @Version
    private Integer version;
}
